package com.zh.auth.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 统一管理键
 */
@Component
@ConfigurationProperties(prefix = "ls.auth.key")
@Data
public class RedisKeyProperties {

    private String roleList="ls:auth:key:role:";

    private String permissionList="ls:auth:key:permission:";

    private String rolePermissionList="ls:auth:key:rolePermission:";
}
